package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BatchTransOrderDetailBizExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BatchTransOrderDetailBizExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdIsNull() {
            addCriterion("trans_detail_order_id is null");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdIsNotNull() {
            addCriterion("trans_detail_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdEqualTo(Long value) {
            addCriterion("trans_detail_order_id =", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdNotEqualTo(Long value) {
            addCriterion("trans_detail_order_id <>", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdGreaterThan(Long value) {
            addCriterion("trans_detail_order_id >", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("trans_detail_order_id >=", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdLessThan(Long value) {
            addCriterion("trans_detail_order_id <", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("trans_detail_order_id <=", value, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdIn(List<Long> values) {
            addCriterion("trans_detail_order_id in", values, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdNotIn(List<Long> values) {
            addCriterion("trans_detail_order_id not in", values, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdBetween(Long value1, Long value2) {
            addCriterion("trans_detail_order_id between", value1, value2, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andTransDetailOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("trans_detail_order_id not between", value1, value2, "transDetailOrderId");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIsNull() {
            addCriterion("batch_request_no is null");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIsNotNull() {
            addCriterion("batch_request_no is not null");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoEqualTo(String value) {
            addCriterion("batch_request_no =", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotEqualTo(String value) {
            addCriterion("batch_request_no <>", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoGreaterThan(String value) {
            addCriterion("batch_request_no >", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("batch_request_no >=", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLessThan(String value) {
            addCriterion("batch_request_no <", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLessThanOrEqualTo(String value) {
            addCriterion("batch_request_no <=", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoLike(String value) {
            addCriterion("batch_request_no like", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotLike(String value) {
            addCriterion("batch_request_no not like", value, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoIn(List<String> values) {
            addCriterion("batch_request_no in", values, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotIn(List<String> values) {
            addCriterion("batch_request_no not in", values, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoBetween(String value1, String value2) {
            addCriterion("batch_request_no between", value1, value2, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andBatchRequestNoNotBetween(String value1, String value2) {
            addCriterion("batch_request_no not between", value1, value2, "batchRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoIsNull() {
            addCriterion("detail_request_no is null");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoIsNotNull() {
            addCriterion("detail_request_no is not null");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoEqualTo(String value) {
            addCriterion("detail_request_no =", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoNotEqualTo(String value) {
            addCriterion("detail_request_no <>", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoGreaterThan(String value) {
            addCriterion("detail_request_no >", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("detail_request_no >=", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoLessThan(String value) {
            addCriterion("detail_request_no <", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoLessThanOrEqualTo(String value) {
            addCriterion("detail_request_no <=", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoLike(String value) {
            addCriterion("detail_request_no like", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoNotLike(String value) {
            addCriterion("detail_request_no not like", value, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoIn(List<String> values) {
            addCriterion("detail_request_no in", values, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoNotIn(List<String> values) {
            addCriterion("detail_request_no not in", values, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoBetween(String value1, String value2) {
            addCriterion("detail_request_no between", value1, value2, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andDetailRequestNoNotBetween(String value1, String value2) {
            addCriterion("detail_request_no not between", value1, value2, "detailRequestNo");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNull() {
            addCriterion("biz_type is null");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNotNull() {
            addCriterion("biz_type is not null");
            return (Criteria) this;
        }

        public Criteria andBizTypeEqualTo(Byte value) {
            addCriterion("biz_type =", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotEqualTo(Byte value) {
            addCriterion("biz_type <>", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThan(Byte value) {
            addCriterion("biz_type >", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("biz_type >=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThan(Byte value) {
            addCriterion("biz_type <", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanOrEqualTo(Byte value) {
            addCriterion("biz_type <=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeIn(List<Byte> values) {
            addCriterion("biz_type in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotIn(List<Byte> values) {
            addCriterion("biz_type not in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeBetween(Byte value1, Byte value2) {
            addCriterion("biz_type between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("biz_type not between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoIsNull() {
            addCriterion("freeze_request_no is null");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoIsNotNull() {
            addCriterion("freeze_request_no is not null");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoEqualTo(String value) {
            addCriterion("freeze_request_no =", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoNotEqualTo(String value) {
            addCriterion("freeze_request_no <>", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoGreaterThan(String value) {
            addCriterion("freeze_request_no >", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("freeze_request_no >=", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoLessThan(String value) {
            addCriterion("freeze_request_no <", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoLessThanOrEqualTo(String value) {
            addCriterion("freeze_request_no <=", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoLike(String value) {
            addCriterion("freeze_request_no like", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoNotLike(String value) {
            addCriterion("freeze_request_no not like", value, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoIn(List<String> values) {
            addCriterion("freeze_request_no in", values, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoNotIn(List<String> values) {
            addCriterion("freeze_request_no not in", values, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoBetween(String value1, String value2) {
            addCriterion("freeze_request_no between", value1, value2, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andFreezeRequestNoNotBetween(String value1, String value2) {
            addCriterion("freeze_request_no not between", value1, value2, "freezeRequestNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoIsNull() {
            addCriterion("source_account_no is null");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoIsNotNull() {
            addCriterion("source_account_no is not null");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoEqualTo(String value) {
            addCriterion("source_account_no =", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoNotEqualTo(String value) {
            addCriterion("source_account_no <>", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoGreaterThan(String value) {
            addCriterion("source_account_no >", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoGreaterThanOrEqualTo(String value) {
            addCriterion("source_account_no >=", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoLessThan(String value) {
            addCriterion("source_account_no <", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoLessThanOrEqualTo(String value) {
            addCriterion("source_account_no <=", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoLike(String value) {
            addCriterion("source_account_no like", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoNotLike(String value) {
            addCriterion("source_account_no not like", value, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoIn(List<String> values) {
            addCriterion("source_account_no in", values, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoNotIn(List<String> values) {
            addCriterion("source_account_no not in", values, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoBetween(String value1, String value2) {
            addCriterion("source_account_no between", value1, value2, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountNoNotBetween(String value1, String value2) {
            addCriterion("source_account_no not between", value1, value2, "sourceAccountNo");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdIsNull() {
            addCriterion("source_account_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdIsNotNull() {
            addCriterion("source_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdEqualTo(Long value) {
            addCriterion("source_account_id =", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdNotEqualTo(Long value) {
            addCriterion("source_account_id <>", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdGreaterThan(Long value) {
            addCriterion("source_account_id >", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdGreaterThanOrEqualTo(Long value) {
            addCriterion("source_account_id >=", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdLessThan(Long value) {
            addCriterion("source_account_id <", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdLessThanOrEqualTo(Long value) {
            addCriterion("source_account_id <=", value, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdIn(List<Long> values) {
            addCriterion("source_account_id in", values, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdNotIn(List<Long> values) {
            addCriterion("source_account_id not in", values, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdBetween(Long value1, Long value2) {
            addCriterion("source_account_id between", value1, value2, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andSourceAccountIdNotBetween(Long value1, Long value2) {
            addCriterion("source_account_id not between", value1, value2, "sourceAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoIsNull() {
            addCriterion("target_account_no is null");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoIsNotNull() {
            addCriterion("target_account_no is not null");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoEqualTo(String value) {
            addCriterion("target_account_no =", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoNotEqualTo(String value) {
            addCriterion("target_account_no <>", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoGreaterThan(String value) {
            addCriterion("target_account_no >", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoGreaterThanOrEqualTo(String value) {
            addCriterion("target_account_no >=", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoLessThan(String value) {
            addCriterion("target_account_no <", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoLessThanOrEqualTo(String value) {
            addCriterion("target_account_no <=", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoLike(String value) {
            addCriterion("target_account_no like", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoNotLike(String value) {
            addCriterion("target_account_no not like", value, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoIn(List<String> values) {
            addCriterion("target_account_no in", values, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoNotIn(List<String> values) {
            addCriterion("target_account_no not in", values, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoBetween(String value1, String value2) {
            addCriterion("target_account_no between", value1, value2, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountNoNotBetween(String value1, String value2) {
            addCriterion("target_account_no not between", value1, value2, "targetAccountNo");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdIsNull() {
            addCriterion("target_account_id is null");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdIsNotNull() {
            addCriterion("target_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdEqualTo(Long value) {
            addCriterion("target_account_id =", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdNotEqualTo(Long value) {
            addCriterion("target_account_id <>", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdGreaterThan(Long value) {
            addCriterion("target_account_id >", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdGreaterThanOrEqualTo(Long value) {
            addCriterion("target_account_id >=", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdLessThan(Long value) {
            addCriterion("target_account_id <", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdLessThanOrEqualTo(Long value) {
            addCriterion("target_account_id <=", value, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdIn(List<Long> values) {
            addCriterion("target_account_id in", values, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdNotIn(List<Long> values) {
            addCriterion("target_account_id not in", values, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdBetween(Long value1, Long value2) {
            addCriterion("target_account_id between", value1, value2, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andTargetAccountIdNotBetween(Long value1, Long value2) {
            addCriterion("target_account_id not between", value1, value2, "targetAccountId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdIsNull() {
            addCriterion("invest_order_id is null");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdIsNotNull() {
            addCriterion("invest_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdEqualTo(Long value) {
            addCriterion("invest_order_id =", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdNotEqualTo(Long value) {
            addCriterion("invest_order_id <>", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdGreaterThan(Long value) {
            addCriterion("invest_order_id >", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invest_order_id >=", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdLessThan(Long value) {
            addCriterion("invest_order_id <", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("invest_order_id <=", value, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdIn(List<Long> values) {
            addCriterion("invest_order_id in", values, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdNotIn(List<Long> values) {
            addCriterion("invest_order_id not in", values, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdBetween(Long value1, Long value2) {
            addCriterion("invest_order_id between", value1, value2, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andInvestOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("invest_order_id not between", value1, value2, "investOrderId");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andCapitalIsNull() {
            addCriterion("capital is null");
            return (Criteria) this;
        }

        public Criteria andCapitalIsNotNull() {
            addCriterion("capital is not null");
            return (Criteria) this;
        }

        public Criteria andCapitalEqualTo(BigDecimal value) {
            addCriterion("capital =", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotEqualTo(BigDecimal value) {
            addCriterion("capital <>", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalGreaterThan(BigDecimal value) {
            addCriterion("capital >", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("capital >=", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalLessThan(BigDecimal value) {
            addCriterion("capital <", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("capital <=", value, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalIn(List<BigDecimal> values) {
            addCriterion("capital in", values, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotIn(List<BigDecimal> values) {
            addCriterion("capital not in", values, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("capital between", value1, value2, "capital");
            return (Criteria) this;
        }

        public Criteria andCapitalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("capital not between", value1, value2, "capital");
            return (Criteria) this;
        }

        public Criteria andInterestIsNull() {
            addCriterion("interest is null");
            return (Criteria) this;
        }

        public Criteria andInterestIsNotNull() {
            addCriterion("interest is not null");
            return (Criteria) this;
        }

        public Criteria andInterestEqualTo(BigDecimal value) {
            addCriterion("interest =", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotEqualTo(BigDecimal value) {
            addCriterion("interest <>", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestGreaterThan(BigDecimal value) {
            addCriterion("interest >", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("interest >=", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestLessThan(BigDecimal value) {
            addCriterion("interest <", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("interest <=", value, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestIn(List<BigDecimal> values) {
            addCriterion("interest in", values, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotIn(List<BigDecimal> values) {
            addCriterion("interest not in", values, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interest between", value1, value2, "interest");
            return (Criteria) this;
        }

        public Criteria andInterestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interest not between", value1, value2, "interest");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeIsNull() {
            addCriterion("penalty_fee is null");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeIsNotNull() {
            addCriterion("penalty_fee is not null");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeEqualTo(BigDecimal value) {
            addCriterion("penalty_fee =", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeNotEqualTo(BigDecimal value) {
            addCriterion("penalty_fee <>", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeGreaterThan(BigDecimal value) {
            addCriterion("penalty_fee >", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("penalty_fee >=", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeLessThan(BigDecimal value) {
            addCriterion("penalty_fee <", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("penalty_fee <=", value, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeIn(List<BigDecimal> values) {
            addCriterion("penalty_fee in", values, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeNotIn(List<BigDecimal> values) {
            addCriterion("penalty_fee not in", values, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("penalty_fee between", value1, value2, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andPenaltyFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("penalty_fee not between", value1, value2, "penaltyFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeIsNull() {
            addCriterion("manage_fee is null");
            return (Criteria) this;
        }

        public Criteria andManageFeeIsNotNull() {
            addCriterion("manage_fee is not null");
            return (Criteria) this;
        }

        public Criteria andManageFeeEqualTo(BigDecimal value) {
            addCriterion("manage_fee =", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeNotEqualTo(BigDecimal value) {
            addCriterion("manage_fee <>", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeGreaterThan(BigDecimal value) {
            addCriterion("manage_fee >", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("manage_fee >=", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeLessThan(BigDecimal value) {
            addCriterion("manage_fee <", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("manage_fee <=", value, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeIn(List<BigDecimal> values) {
            addCriterion("manage_fee in", values, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeNotIn(List<BigDecimal> values) {
            addCriterion("manage_fee not in", values, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("manage_fee between", value1, value2, "manageFee");
            return (Criteria) this;
        }

        public Criteria andManageFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("manage_fee not between", value1, value2, "manageFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeIsNull() {
            addCriterion("guarantee_fee is null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeIsNotNull() {
            addCriterion("guarantee_fee is not null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeEqualTo(BigDecimal value) {
            addCriterion("guarantee_fee =", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeNotEqualTo(BigDecimal value) {
            addCriterion("guarantee_fee <>", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeGreaterThan(BigDecimal value) {
            addCriterion("guarantee_fee >", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("guarantee_fee >=", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeLessThan(BigDecimal value) {
            addCriterion("guarantee_fee <", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("guarantee_fee <=", value, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeIn(List<BigDecimal> values) {
            addCriterion("guarantee_fee in", values, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeNotIn(List<BigDecimal> values) {
            addCriterion("guarantee_fee not in", values, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guarantee_fee between", value1, value2, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("guarantee_fee not between", value1, value2, "guaranteeFee");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}